define(function(){
	return {
		list:'<div class="editList">\
					<div class="list">\
						<div id="Js-mobile-add" class="mobile-add"><div class="glyphicon glyphicon-plus"></div></div>\
						<ul id="Js-mobile-list">\
							<%for(var i=0;i<result.length;i++){%>\
								<%if(i==0){%>\
									<li  data-id="<%result[i]._id%>" class="active Js-li">\
								<%}else{%>\
									<li  data-id="<%result[i]._id%>" class="Js-li">\
								<%}%>\
								<div class="Js-hover hover" data-id="<%result[i]._id%>"><a target="_blank" href="<%url%>" class="glyphicon glyphicon-qrcode Js-erwei erwei"></a><div title="编辑" class="glyphicon glyphicon-edit Js-mobile-edit mobile-edit"></div><div title="删除" class="glyphicon glyphicon-remove-circle Js-mobile-del mobile-del"></div></div>\
								<div class="tml_name"><%result[i].name%></div>\
								<div class="tml_des"><%result[i].description%></div>\
								<div class="Js-code code"></div>\
					    	</li>\
					   		<%}%>\
						</ul>\
					</div>\
				<div class="middle_line"></div>\
				<div class="preview_area">\
					<div class="mobilepre-container front_preview">\
						<div class="phone">\
							<div class="phone-top">\
								<img src="/web/res/images/mobile/top.png">\
								<img src="/web/res/images/mobile/title.jpg">\
							</div>\
							<iframe id="Js-iframe" src=""></iframe>\
							<div class="phone-bottom">\
								<img src="/web/res/images/mobile/bottom.png">\
							</div>\
						</div>\
					</div>\
				</div>\
		</div>',
		add: '<table class="mobile-addContent">\
		      <tbody>\
		        <tr class="Js-drag">\
		          <td class="ui-dialog-header">\
		            <button class="ui-dialog-close Js-dialog-close" title="取消">×</button>\
		            <div class="ui-dialog-title">H5工具-新增</div>\
		          </td>\
		        </tr>\
		        <tr>\
		          <td class="ui-dialog-body">\
		            <div class="ui-dialog-content">\
		            	<form name="mobileAddForm" wx-validator-ajax action="/mobileh5/save.action">\
							<input name="name" type="text" wx-validator-rule="required" class="form-control mobile-title" placeholder="标题">\
							<textarea name="description" class="form-control mobile-desc" wx-validator-rule="required" placeholder="描述"></textarea>\
							<div class="mobile-add-submit">\
				            	<a href="javascript:;" type="submit" class="btn btn-primary btn-lg" type="button">确定</a>\
				            </div>\
		            	</form>\
		            </div>\
		          </td>\
		        </tr>\
		      </tbody>\
		    </table>'
	}
});